<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
    <head>
        <meta charset="UTF-8">
        <title>登录页面</title>
    </head>
    <body>
        <span  th:if="${msg}" style="color: red;">用户名或密码错误</span>
        <form action="fun" method="post">
            <input name="uname" value="zhangsan"><br>
            <input name="upwd" value="1234"><br>
            <input type="submit" value="登录">
        </form>
    </body>
</html>
